/******************************************************************************
* File description: openfileothersfileanalysisui.cpp
* Function: 打开：检测分析
* Current Version: 1.0.0
* Author: 张宇轩
* Date: 2024-08-31
*  -----
*  Copyright by 博坤生物 .
 *****************************************************************************/
#include "openfileothersfileanalysisui.h"

OpenFileOthersFileAnalysisUI::OpenFileOthersFileAnalysisUI() {
    // 初始化
    this->setResizeMode(QQuickWidget::SizeRootObjectToView);
    this->setSource(QUrl("qrc:/OpenFileOthersFileAnalysis.qml"));

    rootObj = this->getRootObject();
    if(rootObj){
    }
}

OpenFileOthersFileAnalysisUI::~OpenFileOthersFileAnalysisUI() {}

/**
 * @brief getContext 获取qmlcontext
 * @return qmlContext
 */
QQmlContext* OpenFileOthersFileAnalysisUI::getContext() const
{
    return this->rootContext();
}

/**
 * @brief getRootObject 获取rootObject
 * @return rootObject
 */
QObject* OpenFileOthersFileAnalysisUI::getRootObject() const
{
    return (QObject*)this->rootObject();
}
